/*
 * @Description: 
 * @Author: ljl
 * @Date: 2024-11-25 10:00:29
 * @LastEditors: rendc
 * @LastEditTime: 2024-11-26 09:41:36
 */
package com.briup.demo;

import lombok.*;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Objects;

// 加这个注解后 这个类在编译的时候 会自动生成get set equals hashcode tostring方法
// @Getter
// @Setter
// @ToString
// @EqualsAndHashCode
@NoArgsConstructor  // 无参
@AllArgsConstructor // 全参
@Data
public class User {
    private Integer id;
    private String name;
    private String username;
    private short age;
    // 性别, 1:男, 2:女
    private short gender;
    private String phone;
    // 用户生日
    private LocalDate birthday;
    // 注册时间
    private LocalDateTime registerTime;

}
